package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by 86151 on 2018/12/25.
 */
@Controller
public class JspController {
    @GetMapping("testJsp")
    public String testJsp(Model model){
        model.addAttribute("test","我是测试的页面吗,不是");
        return "login";
    }
}
